/*
* Copyright 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.proxy;/**
 * Description:
 *
 * @author: Qinxuefeng
 * @since: 1.0
 * Create Date Time: 2018/12/18 10:17
 * Update Date Time:
 */

public class Proxy implements Subject{
    Subject subject;
    public Proxy() {
        this.subject  = new RealSubject();
    }

    @Override
    public void request() {
        System.out.println("-------------");
        subject.request();
        System.out.println("-------------");
    }
}
